#define _CRT_SECURE_NO_WARNINGS 1
#include "BinaryTree.h"
int main()
{
	char a[] = "ABD##E#H##CF##G##";
	int p = 0; 
	int* pi = &p;
	BTNode* root = BinaryTreeCreate(a, pi);
	//BinaryTreePrevOrder(root);

	int size = BinaryTreeSize(root);
	int leaves_sum = BinaryTreeLeafSize(root);
	int LevelKSize = BinaryTreeLevelKSize(root, 3);
	BTNode* ret = BinaryTreeFind(root, 'D');

	BinaryTreeDestory(root);
	return 0;
}